package admin_router

import (
	"blog_go/api/admin_api"
	"github.com/gin-gonic/gin"
)

func AdminImageRouter(r *gin.RouterGroup) {
	adminImageApi := admin_api.AdminApiGroupApp.AdminImageAPI
	r.POST("/upload", adminImageApi.ImagesUploadApi)
	r.POST("/upload_more", adminImageApi.ImagesUploadMoreApi)
	r.GET("/list", adminImageApi.ImagesList)
	r.DELETE("/del", adminImageApi.ImagesDel)
	r.PUT("/update", adminImageApi.ImagesUpdate)
}
